package com.maybach.core.ao;

import com.maybach.core.form.shippingCar.DeliveryCarForm;
import com.maybach.core.form.shippingCar.LogisticsInfoForm;

/**
 * Created by weishuai on 16/3/2.
 */
public interface ShippingCarsAO {


    void updateDeliveryCar(DeliveryCarForm deliveryCarForm);
    Long addDeliveryCar(DeliveryCarForm deliveryCarForm);
    DeliveryCarForm getById(Long id);
    DeliveryCarForm getByOutOrderId(Long outOrderId);


    LogisticsInfoForm getLogisticsInfoByOutOrderId(Long outOrderId);
    void updateLogisticsInfo(LogisticsInfoForm logisticsInfoForm);
    Long addLogisticsInfo(LogisticsInfoForm logisticsInfoForm);


}
